﻿using Common.Communal;
using MediatR;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Scheduling.Api.Write.Application.Command.CalendarCommand
{
    public class CalendarAddCommand:IRequest<ApiResult<int>>
    {
        public DateTime CalendarDate { get; set; }

        /// <summary>
        /// 是否工作日
        /// </summary>
        public bool IsWorkDay { get; set; }

        /// <summary>
        /// 是否加急工作日
        /// </summary>
        public bool IsUrgentWorkday { get; set; }

        /// <summary>
        /// 加急原因
        /// </summary>
        public string UrgentReason { get; set; }

        /// <summary>
        /// 节假日类型
        /// </summary>
        public string HoildayType { get; set; }
    }
}
